<template>
  <div id="app">
    <!-- <transition> -->
      <router-view></router-view>
    <!-- </transition> -->
    <div id="footer">
      <router-link to="/home">首页</router-link>
      <router-link to="/vip">会员</router-link>
      <router-link to="/classify">分类</router-link>
      <router-link to="/shoppingcar">购物车</router-link>
      <router-link to="/me">我的</router-link>
    </div>
    
  </div>
</template>

<script>
export default {
  // name: 'app',
  data () {
    return {
      msg: 'Welcome to Your Vue.js App'
    }
  }
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}
/*a{
  text-decoration: none;
  color: #fff;
}*/
#footer{
  /*padding:10px 0;*/
  position: fixed;
  display: flex;
  justify-content: space-around;
  bottom: 0;
  width: 100%;
  height: 50px;
  line-height: 50px;
  background: #1362A8;
  color: #fff;
}
a{
  text-decoration: none;
  color: #fff;
}
#footer .nav{
  display: inline-block;
  flex:1;
  text-align: center;
  font-size: 16px;
}
</style>
